@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';

@import "node_modules/sass-bem-constructor/dist/bem-constructor.scss";
$bem-use-namespaces: false;
body {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

div:focus{
  outline: none;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

//main-container全局样式
.app-main{
  min-height: 100%
}

.app-container {
  padding: 20px;
}

.components-container {
  margin: 30px 50px;
  position: relative;
}

.pagination-container {
  margin-top: 30px;
}

.filter-container {
  padding-bottom: 10px;
  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: $space;
  }
}

//refine vue-multiselect plugin
.multiselect {
  line-height: 16px;
}

.multiselect--active {
  z-index: 1000 !important;
}

.right {
  float: right;
}
.left {
  float: left;
}
.middle {
  vertical-align: middle;
}
.block-right {
  display: inline-block;
  // width: 100px;
  text-align: left;
  margin-left: $space;
}
.flex {
  display: flex;
  &-between {
    @extend .flex;
    justify-content: space-between;
    &--center {
      @extend .flex-between;
      align-items: center;
    }
  }
}
.flex-item--center {
  @extend .flex;
  align-items: center;
}
//操作区
.operator-container {
  margin-bottom: $space;
}
.dialog-margin--bottom {
  margin-bottom: $space / 2;
}
.form-item--inline {
  display: inline-block;
  width: 50%;
}

.width--full {
  width: 100%;
  height: 100%;
}
.width--harf {
  width: 50%;
}

/* 列表页预览图片 */
.thumbnail {
  width: 80px;
}
.previewImage {
  width: 200px;
}

.block {
  display: block;
}
.inline {
  display: inline-block;
}

// 单张上传图片
.avatar-uploader {
  // display: inline-block;
  width: 148px;
  height: 148px;
  overflow: hidden;
}